Added an environment and database layer.
Merge pull request #5 from Agrosis/master

Added an environment and database layer.