added backend and frontend for basic functionalkty