refactor generators
remove rails directory