Reworking build
Removed submodule for brew
Fixed rakefile