Added configuration class
Moved some of the common code into the Data class

- Added a Configure class for sharing some dependencies