Changed how most weapons register.
Added new beam laser.
Moved weapon functions into their own lua.