An attempt to instill dependency injection to the project.