Adding account model, fleshing out api methods.