added admin and some additional tests and remote sync funcitonality