added to netbeans
added test rest route