Refactoring, added Writer by elektromeier and fixed it for Beta29.