Refactoring for new appserver-io/build package