Added automatic component syncing.

If you extend from RemoteComponent and implement the abstract functions,
the component data will automatically be synced.