Make the location module multisite

This change contains improvements to the PSR standards