add applib directory