Adding model and math libs