sourcecode for paperhouse