public boolean insert(DatabaseTableData data, Class<?> layout, boolean instant) {
		
		Field[] publicFields = layout.getFields();
		
		String fields = "(";
		String values = "VALUES (";

		for (Field field : publicFields) {
			
			fields += field.getName() + ",";
			try {
				if (field.getType().isEnum()) {
					values += "\"" + ((Enum<?>)field.get(data)).ordinal() + "\",";
				}
				values += "\"" + field.get(data).toString() + "\",";
			} catch (Exception e) {
				e.printStackTrace();
			}
			
		}
		
		fields = fields.substring(0, fields.length() - 1) + ") ";
		values = values.substring(0, values.length() - 1) + ");";
		
		String insertQuery = "INSERT INTO `" + m_name + "` " + fields + values;
		
		m_database.query(insertQuery, instant);
		
		return true;
	}