Implemented simple views and sqlite test database.