made compile code more modular.
bumped version number