deleted all unused libraries and cleaned up existing code