Added ability to move pieces as well as optimized more code for ease-of-use purposes.