added javdoc and expanded on classes