Added initial application code