Moved implementation of Boar to cpp file
Fixed issue caused by RES line