Moving the LoadedApk class to its own file. Test: Unit tests pass. Change-Id: Id706f9ad1f3406bb73a60a33139a04745d5d72c0