added code for array adapter. Switched to fragments for UI.\n Layout still buggy but the program will run