Code refactoring

    Code refactoring after first commit

    * constants for numbers
    * function to initialize spins images
    * Avoid unnecessary instances of typed arrays
    * Some improve in code style

    Reviewed by: NO BODY