Many changes, have partial registraion working

Signed-off-by: Frca <killerfrca@gmail.com>