Move algorithms to dedicated directory
Move CLI related files to dedicated directory
Move remaining files in lib to internals directory

dictionary.rb and layout.rb needed to be tweaked since they statically
reference directories as sources for dictionaries and layouts.
Merge pull request #20 from linduxed/organize_lib

Reorganize /lib