Changed float cpBB properties to cpBB class
Some refactoring