still needs some fixes but,,

the main class using database sqlite3