Refactored each file to correct example folder. Added example3 implementation and test