major changes, removed all dependencies of the obsolet parameter layer; be careful and check your results