fix some namespace naming
add mobile data
add some styling tweaks
throw everything into a function and call it
avoid defining functions in scope and use lambdas instead