Move pkgtool into felix core