Make robust: create classes and lib dirs