Reorganized code

Created dbhelper, Moved listviewadpater to seperate file