added minimal database schema