add library interface class and make library frontend exchangeable
remove obsolete generator class