added autocompleter

maybe if you just use the initialisation of an object a class method fits better instead