Collection recording implemented. Seems fine...

new features
- collection recording

todo
- check code for stupidity as it was written in hurry.