This is the front-end code for the chase project