Removed useless libs
Added the ability to solve group type