Fixed spelling mistake
Added fetching of app identifier from Appfile if no other one is given

Added test for that