Set the X class stuff
Cleaner function assignment
Give the application an id
Clarify variable names