removed Asynctask superclass and replaced with Activity superclass also added onCreate function