Change directory structure

Move `generator/` to top level of project.