VP-317

Implemented a modular build system.

http://issues.fluidproject.org/browse/VP-317