made graphics interface FileIO interface and Input interface