moved resources inside main.
Signed-off-by:we6jbo <we6jbo@gmail.com>