Added a IApplicationUnit interface which ApplicationUnit class implements. Makes it easier to do tdd.