moved class to seperate file, refreshed docs