allow use as engine
remove erb
add file generator
fix rake
move modules