initialize base exception, model, and SQL builder class