created basic template + front end code