updated all python files and created database

updated some gui and finished structure for database.