Created user interface for every form and created a database class for creating database automatically  while loading the interface if database not created.