First push

resources system works quite far. nothing perfect yet