Removed support for input to sample project. Formatted and refactored code.