Added curses interface. Removed unneded euclid libs