registration mode added
introduced Settings class
added refresh detection support
added settings encryption