made the ui more flexible by not hardcoding the header and footer, now user must provide a proper markup, documentation is coming later