make command handler static and initialize it