The API-parser is now a thread itself
First part of making the photoframes functional
Serverside of the RMI interface

Signed-off-by: Darkrulerz <Dark_rulerz@hotmail.com>
Magic value replaced with a constant

Signed-off-by: Darkrulerz <Dark_rulerz@hotmail.com>
RMI interface not updates the patients