feat: add root_dir & default port macro definition; add www/ web dir