removing dependency to whale. fixing license