Moved n_cpu to Utils, added file_perm and dir_perm functions for checking file/dir permissions.
Fixed typos + podification.