Improve request regexp
Improve plugins loading
Add gracefull stop
Add unit tests & improve some code