added unit.cpp with header's functions
Merge branch 'master' of https://github.com/SalvatoreTosti/urchin