define(['jquery', 'lodash', 'api'], function($, _, _api) {
    'use strict';

    return {
        elementalParticle: function() {
            this.size = 1;
            this.isAlive = true;
            this.strength = 1;
            this.existence = 60;
            this.spin = true;
            this.speed = 1;
            this.countDown = _api.deadCowntDown(this);

            return this;
        },
        tableSize: function (size) {
            switch (size) {
                case '600 x 800':
                    break;
                case '800 x 1200':
                    break;
                case '1200 x 1400':
                    break;
                case '1400 x 1600':
                    break;
            }
        },
        createTable: function(obj) {

        }
    };
});

@@ -390,32 +390,213 @@
 his;%0A        %7D,%0A
+        tableConfig: function (height, width) %7B%0A            return %7B%0A                height: height,%0A                width: width%0A            %7D;%0A        %7D,%0A        tableObject: %7B%7D,%0A
         tableSiz
@@ -596,16 +596,17 @@
 ableSize
+s
 : functi
@@ -703,201 +703,751 @@
     
-break;%0A                case '800 x 1200':%0A                    break;%0A                case '1200 x 1400':%0A                    break;%0A                case '1400 x 1600':%0A                    break
+this.tableObject = this.tableConfig('600', '800');%0A                    break;%0A                case '800 x 1200':%0A                    this.tableObject = this.tableConfig('800', '1200');%0A                    break;%0A                case '1200 x 1400':%0A                    this.tableObject = this.tableConfig('1200', '1400');%0A                    break;%0A                case '1400 x 1600':%0A                    this.tableObject = this.tableConfig('1400', '1600');%0A                    break;%0A            %7D%0A        %7D,%0A        numberOfParticles: function (num) %7B%0A            if (this.tableObject !== undefined && this.tableObject.width !== undefined) %7B%0A                this.tableObject.particles = num;%0A                this.createTable(this.tableObject)
 ;%0A  
@@ -1506,16 +1506,45 @@
 (obj) %7B%0A
+            console.log(obj);
 %0A       

Improve core/components.js