updating oncreate of main activity
List view now working in the main activity

Many things need to be deleted that are not used.