adding support for smartos/solaris boostrapping
core refactor to make bootstrapping much more modular and allow server to detect platform