A minimalist implementation of Active Record