refactor to set up for multiple apps within this name space