try to allow a seperate class for methods

a test sketch is added too