create spec and lib directories
create spec and lib directories