Introduced public constants

Made constants public, formatter, removed unused code

Signed-off-by: Dominik Schadow <dominikschadow@googlemail.com>