Fixed init script and namespace of main classes.