added register, cleaned up app.js, basic layouting

app.js needs more cleaning...