fixed movegen, implemented uci basics