Implemented caching using SQLAlchemy & Sqlite