added base model
added more js
finished game
fixed coloering bug