Get rid of tools

This pull request implements the part of xp-framework/#287 which can be handled inside the `core` repo.