Revamped data access, added several new classes, updated directory structure.