moved energy bar into its own seperate class, now can be called from any gui and rendered appropriatly