Closes #1795, #1797, #1798 and #1799

Closes #1795, #1797, #1798 and #1799
This puts flashlight server configuration in a different folder than client.