Migrate UI part to gradle