Removed redundant libraries, outsourced external libraries to our "contrib" repository.