creates controller files, adds node server