Improve the configuration

This allows the user to set the :basedir to be outside the project dir,
allowing the user to deploy to an alternate location and now be forced
to run from the clone location.

This also makes better use of the configuration variables.
Merge pull request #3 from xaque208/config

Improve the configuration