Implement prime number service and display styled results in UI