Create Module for HasApp functionality: closes #1579