Added app code
Added index template
Added tests