Implementing the application controller pattern!