Renamed app entry point to better fit nodejs conventions.
Added server object.