[N/A] Refactor code, include css and js resources in gem file

Reviewed By N/A
[N/A] Fix resource copy from gem

Reviewed By N/A