removing repeated class declaration
adding post_provision hook to restart uwsgi