Implementing a money system