Database and ListView changes

Database api & Custom List View implementation