Shitload of work for Lib project. Inlined functions, finished move generation for the most part.