Splitted main process unit in its own file
Added option -s

This option, if sets, will include basic code for a codebox addon which contains server-side code.
Bump version 0.1.2