Moved algorithms to a 'Common' solution dir.