moved methods to proto
lets test it.
documented pitch detection
cleaned up docs