Refactor: ApplicationController

Extracted some private methods and restructure the conditional for #store_location
Merge pull request #191 from cored/application-controller

Refactor: ApplicationController