Draft of FBO class
Moved tests to separate files.