Added a basic Factory and also added some usage.