Adding softpwm, refactoring package structure for tests;