Implemented basic funcionality for frontend and backend.