Add some tempting functionality, clean up api, add general settings page