Continued coding the pattern loader (not tested yet, though).
Finished the pattern loader, but it is not tested yet. Not communicating with the interface for now.