Implemented folder class
Everything made internal. Added test to validate this.