Refactored library loading.

- Removed packaging arifacts.
- Ignored some files.