Wrapper for building TSG apps using the Slim framework