Basic object creation in main