Fixes and processor tests
Marging
Implementation of rendering function