created initial model architecure for library app