Update base.py

+ changing database engine from postgres to sqlite