added more functionality to libc and project is structured into directories