Added lib/core/ and moved util modules to it.