[core] Use built-in layout managers when only class name is provided
[core] Add '.' separator between class and package names