add list fragment and tabs

implemented viewpager (tabs) and converted the fragment into
listfragment. Also imported Event and customAdapter classes.