moved model directory to lib