Moves external dependencies to "lib" directory and internal dependencies to "inc" directory.
Bumps version for 0.5.0 release.