Deported controller logic in block service
Updated doc & unit test