Updated to be cleaner
constructs the toolbar by enumerating through the object:
Updated the basic config a bit
Updated the code a bit more