added support for SQLAlchemy, created Task model and updated views accordingly