Modified Transaction class to receive an id instead of an account
instance. Modified id type from int to long.