created book schema, restructured backend of app