Add Elastica library as dependency