restructured dal interfaces, added json marshall implementations to models, other minor changes