account function

Create an account object