Adding val alias for getValue

Probably shouldn't have rebased here my bad, but added a test and removed the gitignore.