Core application code for Prontotype.