change name classes for consistency with flask app and test app into __main__