implemented most (all the 'important') functions.
mostly usable now ;-)