there is a list of all buildings with farm provisions for each building and lvl, dont be lazy and do the check yourself
however, i would say that for village with units you need maxed resources, maxed warehouse, maxed farmes and maxed barracks of course, i cant think of anything else that would be essential. if you have villages that are "off limits" you dont even need walls, use catapults to dispose of any building you might not need, you could even level down headquarters and free some space, but of course, sabotages might be little annoying if successful. as far as market vs academy goes, high lvl market takes much more farm spaces than the academy.
for a village that is supposed to withstand and attack or 2, you have to add headquarters, walls and hospital.
ps: not sure who's idea it was to go with 7K axes and 1K of cavalry and 1K of mounted archers but if my math is correct, its not exactly a good idea. for most powerful attacks, the army should consist of 1 attack type only. Also, the more axemen you want to use, the longer it takes to recruit your amy.