Custom task registration

#7 issue impl.