cleanup constructor logic and eliminate dead paths
change stardocs to dobule slash