Added basic input functionality
Input now receives a default value if needed.