simple_chain view is now calles general_chain
deep refactorization and some bugfixes