Added the initial application code