Added maven support, removed hard-coded dependencies.