Source code of the gravity application.