First hack at main page and settings form