refactoring: decorators are now functions, added timeout to concurrent decorator, fixed dynamic assignment of decorated functions, improved performance