Added inputs for testing, put main in term and finished web pages