Read properties before Server creation, fix constants names