This is the working version for python. Database is Sqlite. Work on it later.