move model spec to models.inl file
feature generation and train weak classifier