Added more functions into nysa base class

the motivation for adding more functions to the Nysa base class
is so the implementing nysa device can be used not only to
communicate with the board but also program it
Forgot to add the "raise" keyword