rename to server.js to avoid confusion with Tesla.js
a bit more restructuring
restructure file system