Added NoteResult.php
Added type casting to methods
Added NoteResult.php and tests