Fixed bugs
Added seperate mojo to handle test and main classes so that same parameter tags can be used in both cases.