Finished core

basic function of Agenda.
but the UI is still console