Added bool datatype to config, updated main class with test case.

Signed-off-by: Moose517 <moose51789@gmail.com>