Added domain and controller classes.