updated server to use 'express' framework