Added decoder and added networking