fixed undefined parameter bug
maxForce option fix
Serializer is now a class instead of function. Fixed bugs.
added serializer test