update namespace and some formatting
add composer file