Added external dependencies and fixed line endings