Add maintenance mode and restructure laravel config to support paths