added store front end and moved routing around