data_magic gem support and refactored ui components