Merge pull request #61 from BorisVerk/master

removed crossdomain file
refactored logic to server.py
made test reflect refactor

initial attmpts to test server logic did not go well
minor fixes
fixed array access