Add dependency parsing

#273