moved enums out of main class to separate enum-classes