Rename spec folders

Rename spec/lib/core folders to match with the current core structure