Starting to implement an ioc mvc type structure.