Initial api

Add initial API (+ class declarations) for basic classes. (The ones used by `Value` class.)