first version for Server site, basic framework