Added beginning code to main and NLH class