some code styling / cleanup
added bar chart widget