Cleaned up code structure.

* Made folders src, gnugen and tmp.