Create style definition and build basic UI