Split up LocalSetting a bit

This generally makes things easier to follow....
Also move StartProfiler file