Added DB and entity classes... far from functional yet though.