Changed project structure a bit and updated TopCoder libs to the latest ones.