move dependencies into separate directories