Geometric validation

added a lot of validation, and the server starts, jeej :100: :8ball: