#132 preparations for attributes. changed WriteAttributes signatur. Added WriteCodeAttribute method