removed server side dependancies + corrected set up bugs.