Moved init logic
Merge branch 'dev' of https://github.com/pdigre/TheChessProject into dev