Removed unneeded dependencies and changed Framework version to 4