Added src code for app and server