Added and finished preliminary functionality for terms (CRUD).