Finished up DB representation, starting on actual access and what not.