Implement essential classes of java.io