fixed exception throwing, converted model names, controller/model to abstract class and 404 errors