implemented html parsing and CRUD functions