Removed unused libraries in code