remove test folder
modularize code that can be used by both the action and service implementation
add back action server functionality