added small flask test app, began working on parameter checking