Changed module exports of the server. Newly exported functions
will help to pre-configure the express app with customized middlewares before doing
form builder specific configurations.
This is a breaking change due to signature changes in import/require statements if using
this as a npm package.