Removed external dependencies and added libraries in the right version.