changed default port. added logging. fixed bug. added dependency to package json