Refactor: use baseUrlFor to provide URLs for link-creation methods
Change APP references to "this" inside APP object