removed unused methods, commented whole library