added new features (editing, deleting, type 'select' for input, new
Entities + tables with info) + refactoring