Added basic application code