Added board rotation, fixed some errors