Added the initial Controller functionality