chapter 4 finished

added features & lib dir's