a 'lite' version of Active Record