Added a fab file for automating deployment and fixed other issues