Adding a main definition to make app run.