Changed hard coded units to a constant

*Added constants.php in configure dir
*changed all hard coded units
*some minor clean-up
resolved conflict in create_new_project
Merge pull request #172 from Useful-Innovation/changes

Changed hard coded units to a constant