Fixed DB schema
Created main resources