updated to express 4 and created config system