Add example config and restrucutre config options

Also remove stupid extracts
Rename ajax.js to app.js