consolidated types into types.hpp, added current git short hash to version.