reworked field adding and made it ajax powered, minor refactoring