Updated Dependency Factory;
Implemented Data Access Layer.