Reworked the promises code.
Use configuration files dependent on the environment.
Upgraded dependencies.
Updated Procfile.
Added missing dependency.
Ensure uploads directory.