add easy APIManager classes
resolve minor issues, clean format
add Device helper
delete obsolet classes