Refactored resizeBoard directive into a separate js file
Refactored Chess Engine into a service