Refactor/directories

This pull request moves the _res and _lib directories into the root of the project. It retains them inside src because stripping them turned out to be rather bothersome. I will start another attempt to strip them from master and other branches later.