added typespecs to liga.erl
updated liga_model_small