Implementation commit

Added basic functionality for loading info from a database as well as
implementing some simple core functionality.