Refactoring and new stubs for other platforms
Updated docs
Added placeholders, local bin and lib per platform
Fixed function declarations
Fixed catch_error on assignments
Updated docs