Changed environment config not to lead files outside /src

Caused errors because of files that executre something upon loading.
Eventually the source will probably go into /src and these files will be
handled differently.
Merged back some of the older Rake tasks.