Some changes made to Main. Right now I am trying to fix the NullPointerException when trying to call a method from insert inside mAIN