Some boilerplate for gravity sim