Options done, bugfixing and starting on curses mode