Added bar along the top. Cleaned up and abstracted adding elements.