Implement preferences store.

Can now store configuration settings via Eclipse.