[BUG #7810] move dependencies into packages dir
[BUG #7810] remove unneeded files
[BUG #7810] remove unneeded files and change paths