cpu-boost_framework: Move working variables into boost struct

This cleans up some redundancies and overall looks cleaner.

Signed-off-by: Sultanxda <sultanxda@gmail.com>