factory pattern used to simulate vehicle factory