Fixed git integration
Added support for BSD makefiles
Added mg package from github