rewrite plantrain generator
Merge branch 'dev' of https://github.com/railproject/trainplan into dev
remove useless code