Make single inheritance working

Also, implement the first simple variable types

Signed-off-by: Max Sikstrom <msikstrom@op5.com>