first try of fanIn fanOut
fix loading classes bug
wrote comments for tests
added fan classes