- Adding the misc class as library
- Minor tweaks around the code