Separate object and tile parsing to new files

tiles parsing is not working right now, needs to be fixed later.