Added initial repository classes, interfaces and database structure