Better dependenceies system.

Signed-off-by: Jakub Sztandera <kubuxu@gmail.com>
Merge pull request #3 from Kubuxu/master

Better dependenceies system.