Added simple persistence.
Added some configurability to the system.