Refactoring

-added some extra comments
-moved classes Runner and Pool to the ejb module