added a remove method on the model writer
bug fix controllers import so that the flask application can actually run