Improve create objects
Pass application into command