#20: Added Chain class. _is_working_path() is now working somehow.