Implement settings

Lets make it in another pull request. I'll issue it.