Added basic flow and template, buggy version