Move idl to one file, rejig where generated files go and start on the server implementation
Remove and prevent swap files