Adding platform factory to generate platforms. Drawing platforms