updatig more core logic
adding new main, namespace color util