Implementing full schema of database