modified after following chapter 6 of rails guides
added assets from the engine