Externalized customFrameBuffer to application


- the signature of functions in customFrameBuilder module have been
modified to take an external frame buffer as input
- application code have been modified according to this refactoring