broke up PHP-ish 'manager'-structures. replaced it by borg-patterns where necessary. \(most likely broken state, consider it a quicksave\)