adding server resources

also moving ui files into separate dir