unify variables
connect with --serve
changelog
refactored serve and startServer