refactored charts to directives, added bootstrap ui