replace app.’s with server.js,
fixed various company methods,