lots of changes
changed core/model.class.php back to original
changed permissions on model.class and made custommodel.class id param optional
finished