should fix a few template bugs
prepares querying of instances, gets rid of stupid json template (replaced with proper dict generator)
now pulls tags from remote instances