Add check for maximum registrations
Fix encoding. Add build script.
Ignore target build folder