Fix server:start command not using apiport
Update server to write log files
Move server start to a dedicated command file
Stop using '/api' url