add support for event request and extract constant to config file
add rakefile and thin for server